
import { jsx } from '@emotion/react'

import { Gradients, type IconProps } from './util'

export function Postgres ({ grad, ...props }: IconProps) {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      viewBox="0 0 54 56"
      aria-label="Postgres"
      role="img"
      fill="none"
      {...props}
    >
      <Gradients name="Postgres" />
      <path
        d="M40.1693 40.387C40.5152 37.505 40.4116 37.0822 42.5583 37.5491L43.1033 37.597C44.7539 37.6721 46.9132 37.3315 48.1818 36.7421C50.9126 35.4751 52.5319 33.3595 49.8392 33.9154C43.697 35.1825 43.2747 33.1027 43.2747 33.1027C49.7605 23.4794 52.4718 11.2637 50.1315 8.27348C43.7484 0.117373 32.6995 3.97433 32.5146 4.07447L32.4557 4.08546C31.2421 3.83353 29.8839 3.68308 28.3582 3.65842C25.5787 3.61274 23.4696 4.38709 21.8697 5.60057C21.8697 5.60057 2.15897 -2.52 3.07595 15.813C3.27097 19.713 8.66613 45.3233 15.1009 37.5878C17.4527 34.7592 19.7256 32.3675 19.7256 32.3675C20.8542 33.1173 22.2054 33.4998 23.6226 33.3624L23.7321 33.269C23.6978 33.6202 23.713 33.9639 23.776 34.3705C22.1186 36.2225 22.6056 36.5479 19.2915 37.2299C15.9385 37.9211 17.9084 39.1513 19.1941 39.4728C20.7533 39.8627 24.3603 40.4151 26.7981 37.0031L26.7011 37.3924C27.3513 37.9126 27.3074 41.1317 27.3996 43.4314C27.4919 45.7313 27.6459 47.8777 28.1147 49.1429C28.5835 50.4081 29.1367 53.6674 33.4923 52.7339C37.1325 51.9538 39.9157 50.8311 40.1693 40.387"
        stroke="var(--app-bg)"
        strokeWidth="5.53547"
      />
      <path
        d="M49.8394 33.9151C43.6966 35.1822 43.2744 33.1024 43.2744 33.1024C49.7601 23.4786 52.4714 11.2626 50.1316 8.27275C43.7485 0.117123 32.6991 3.97421 32.5147 4.07434L32.4554 4.08497C31.2417 3.83304 29.8836 3.68296 28.3571 3.65804C25.5776 3.61249 23.4692 4.38672 21.8693 5.59996C21.8693 5.59996 2.15822 -2.52025 3.07496 15.8126C3.26998 19.7128 8.66501 45.3232 15.1 37.5877C17.452 34.7591 19.7245 32.3674 19.7245 32.3674C20.8532 33.1172 22.2044 33.4997 23.621 33.3623L23.731 33.2689C23.6968 33.6201 23.7125 33.9637 23.7751 34.3704C22.1174 36.2224 22.6045 36.5477 19.2906 37.2298C15.9374 37.9209 17.9072 39.1511 19.1934 39.4727C20.7526 39.8626 24.3598 40.4149 26.7972 37.003L26.6999 37.3923C27.3495 37.9125 27.8056 40.7763 27.7292 43.3724C27.6527 45.9684 27.6017 47.7507 28.1135 49.1428C28.6253 50.535 29.1353 53.6673 33.4918 52.7338C37.132 51.9537 39.0183 49.9322 39.2807 46.5601C39.467 44.163 39.8884 44.5172 39.915 42.374L40.253 41.3593C40.6428 38.1097 40.315 37.0612 42.5576 37.5488L43.1027 37.5967C44.7533 37.6718 46.9137 37.3312 48.1817 36.7419C50.912 35.4748 52.5312 33.3592 49.8392 33.9151H49.8394Z"
        fill={grad ? `url(#Postgres-${grad})` : 'currentColor'}
      />
      <path
        d="M32.4927 3.9929C31.81 4.20697 43.4647 -0.267663 50.0883 8.19582C52.4279 11.1857 49.7167 23.4019 43.231 33.026M27.0606 35.7773C26.8914 41.8241 27.1031 47.913 27.6947 49.3928C28.2868 50.8726 29.5537 53.7509 33.9105 52.8176C37.5504 52.0372 38.8747 50.5271 39.4494 47.1941C39.8727 44.7416 40.6887 37.9308 40.7933 36.5354L27.0606 35.7773ZM21.8386 5.46429C21.8386 5.46429 2.11403 -2.59742 3.03101 15.7356C3.22603 19.6357 8.62143 45.2469 15.0563 37.511C17.4078 34.682 19.5345 32.4633 19.5345 32.4633L21.8386 5.46429Z"
        stroke="var(--app-bg)"
        strokeWidth="1.84516"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M43.2311 33.0258C43.2311 33.0258 43.6537 35.1061 49.7966 33.8382C52.4881 33.2823 50.8683 35.3981 48.1386 36.6658C45.8984 37.7055 40.8758 37.972 40.7937 36.5353C40.5826 32.8284 43.4372 33.9546 43.2312 33.0258C43.045 32.1893 41.7683 31.3683 40.9239 29.321C40.1867 27.534 30.8131 13.8305 43.5234 15.8657C43.989 15.7693 40.2084 3.77579 28.3133 3.58077C16.4209 3.38574 16.811 18.2058 16.811 18.2058"
        stroke="var(--app-bg)"
        strokeWidth="1.84516"
        strokeLinecap="round"
        strokeLinejoin="bevel"
      />
      <path
        d="M23.7311 34.2936C22.0731 36.1457 22.5607 36.471 19.2465 37.1532C15.8933 37.8444 17.8634 39.0745 19.1492 39.3959C20.7084 39.7861 24.3156 40.3384 26.753 36.9256C27.4952 35.8865 26.7486 34.2285 25.729 33.8059C25.2364 33.6019 24.5777 33.3461 23.7311 34.2936V34.2936Z"
        stroke="var(--app-bg)"
        strokeWidth="1.84516"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M23.6227 34.2614C23.4556 33.1723 23.9805 31.8765 24.543 30.3606C25.3883 28.086 27.3386 25.8111 25.7784 18.5959C24.6155 13.2192 16.8155 17.4769 16.8106 18.206C16.8058 18.9348 17.1634 21.9013 16.6803 25.3557C16.0499 29.8634 19.5486 33.6758 23.5774 33.2858"
        stroke="var(--app-bg)"
        strokeWidth="1.84516"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
      <path
        d="M21.7674 18.0968C21.7322 18.346 22.2233 19.0103 22.8635 19.0991C23.5027 19.1882 24.0498 18.669 24.0845 18.4202C24.1191 18.1712 23.6287 17.8969 22.9882 17.8078C22.3487 17.7187 21.8014 17.8485 21.7675 18.0968H21.7674Z"
        fill="var(--app-bg)"
        stroke="var(--app-bg)"
        strokeWidth="0.615052"
      />
      <path
        d="M41.2356 17.589C41.2703 17.8382 40.7798 18.5025 40.1395 18.5913C39.4998 18.6804 38.9527 18.1612 38.9177 17.9124C38.8838 17.6634 39.3744 17.3891 40.0142 17.3C40.6539 17.2108 41.2009 17.3406 41.2356 17.5892V17.589Z"
        fill="var(--app-bg)"
        stroke="var(--app-bg)"
        strokeWidth="0.3076"
      />
      <path
        d="M43.5234 15.8657C43.6287 17.8189 43.1027 19.1492 43.0363 21.2284C42.9382 24.2506 44.4772 27.7097 42.1582 31.173"
        stroke="var(--app-bg)"
        strokeWidth="1.84516"
        strokeLinecap="round"
        strokeLinejoin="round"
      />
    </svg>
  )
}
